package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.BladeVisualDb;
import com.xjgzinfo.usdp.service.dto.BladeVisualDbDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link BladeVisualDb} and its DTO {@link BladeVisualDbDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface BladeVisualDbMapper extends EntityMapper<BladeVisualDbDTO, BladeVisualDb> {


    default BladeVisualDb fromId(Long id) {
        if (id == null) {
            return null;
        }
        BladeVisualDb bladeVisualDb = new BladeVisualDb();
        bladeVisualDb.setId(id);
        return bladeVisualDb;
    }
}
